home *** CD-ROM | disk | FTP | other *** search
-
- string functions
-
- strlens(s0 returns length of s
- strcpy(s1,s2) copy s2 into s1
- strcat(s1,s2) concat (append) s2 to the end of s1
- strcmp(s1,s2) 0 if s1==s2,<0 if s1<s2, >0 if s1>s2
- strchr(s,c) returns a pointer to c in s, else NULL
- strncpy(s1,s2,n) copy up to n characters from s2 into s1
- strncats(s1,s2,n) concat up to n chars from s2 to end of s1
- strncmps(s1,s2,n) compare n characters, same as strcmp0